/*
 * @Author: Lin Hongwei
 * @Date: 2022-10-24 17:04:46
 * @LastEditTime: 2022-10-24 22:56:49
 * @LastEditors: Lin Hongwei
 * @email: 1365755396@qq.com
 * @CSDN: https://blog.csdn.net/weixin_45429409
 * @Description: 请求对象处理
 */
const RequestMiddleware = (ctx,next)=>{
  ctx.bodyParams = Object.values(ctx.request.body);
  return next();
}

module.exports = RequestMiddleware